﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace iLangl.Transport.Communication.Mockups
{
	public class MockupCommunicationManager :BaseCommunicationManager, ICommunicationManager
	{
		public MockupCommunicationManager(ITransport transport)
			: base(transport)
		{
		}

		public event EventHandler NewPackageArrived;
			 
		public override void SentPackage(IPackage package)
		{
			if (NewPackageArrived != null)
				NewPackageArrived(package, EventArgs.Empty);
		}
	}
}
